from selenium import webdriver
from options import options

url = r'https://www.baidu.com/'
driver = webdriver.Chrome(options=options)
driver.get(url)
driver.get_screenshot_as_file(r'E:\python\python_pro\python_230901\homework\liuyingge\lianxi\10_ddt\baidu.png')
